/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-09-13 16:56:22
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-13 17:00:25
 */
public class Test06{
    public static void main(String[] args) {
        Child child = new Child();
    }
}
class Parent{
    static{
        System.out.println("静态代码块Parent");
    }
    {
        System.out.println("构造代码块Parent");
    }
    public Parent(){
        System.out.println("构造方法Parent");
    }
}
class Child extends Parent{
    static{
        System.out.println("静态代码块Child");
    }
    {
        System.out.println("构造代码块Child");
    }
    public Child(){
        System.out.println("构造方法Child");
    }
}
